package com.project.entity.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import lombok.Data;

/**
 * @ProjectName:
 * @Package:
 * @ClassName:
 * @Author: ZhaoLongShi
 * @CreateDate:
 */
@Data
@TableName(value = "employee")
public class Employee {
    /**
     * 员工id
     */
    @TableId(value = "employee_id", type = IdType.INPUT)
    private Long employeeId;

    /**
     * 员工姓名
     */
    @TableField(value = "employee_name")
    private String employeeName;

    /**
     * 年龄
     */
    @TableField(value = "age")
    private Integer age;

    /**
     * 电话
     */
    @TableField(value = "phone")
    private String phone;

    /**
     * 岗位id
     */
    @TableField(value = "positions_id")
    private Integer positionsId;

    /**
     * 入职日期
     */
    @TableField(value = "hire_date")
    private Date hireDate;

    /**
     * 状态值：0表示没有上岗  1表示上岗
     */
    @TableField(value = "`status`")
    private Integer status;

    @TableField(value = "is_delete")
    private Integer isDelete;

    /**
     * 值班id
     */
    @TableField(value = "duty_id")
    private Long dutyId;
    /**
     * 岗位名称
     */
    @TableField(value = "positions_name")
    private String positionsName;

    public static final String COL_EMPLOYEE_ID = "employee_id";

    public static final String COL_EMPLOYEE_NAME = "employee_name";

    public static final String COL_AGE = "age";

    public static final String COL_PHONE = "phone";

    public static final String COL_POSITIONS_ID = "positions_id";

    public static final String COL_HIRE_DATE = "hire_date";

    public static final String COL_STATUS = "status";

    public static final String COL_IS_DELETE = "is_delete";

    public static final String COL_DUTY_ID = "duty_id";
}